package com.zhongyu.provider.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

@Data
@TableName("news_comment")
public class Comment {

	@TableId(type = IdType.AUTO)
	private Integer id;

	private Integer newsId;

	private String content;

	private String author;

	/*@JsonFormat(pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern = "yyyy-MM-dd")*/
	private java.time.LocalDate createDate;


}
